package com.it.blog.entity;

/**
 * @Author: 羡羡
 * @Date: 2022/01/28/18:58
 *
 * 文章类型
 */
public class ArticleType {
    /**
     * 类型ID
     */
    public int articletypeid;
    /**
     * 类型名称
     */
    public String artypename;

    public int getArticletypeid() {
        return articletypeid;
    }

    public void setArticletypeid(int articletypeid) {
        this.articletypeid = articletypeid;
    }

    public String getArtypename() {
        return artypename;
    }

    public void setArtypename(String artypename) {
        this.artypename = artypename;
    }

    public ArticleType() {
    }

    public ArticleType(String artypename) {
        this.artypename = artypename;
    }

    public ArticleType(int articletypeid, String artypename) {
        this.articletypeid = articletypeid;
        this.artypename = artypename;
    }

    @Override
    public String toString() {
        return "\nArticleType{" +
                "articletypeid=" + articletypeid +
                ", artypename='" + artypename + '\'' +
                '}';
    }
}
